Skip to content

Conversation

@franckgaga
Copy link
Member

@franckgaga franckgaga commented Nov 4, 2025

It is safer to prepare gradients, Jacobians and Hessians with Constant contexts initialized with rand vectors instead of zeros vectors. See discussion here.

@franckgaga franckgaga changed the title debug: prepare diff with rand constants debug: prepare AD with rand constants Nov 4, 2025
@franckgaga franckgaga changed the title debug: prepare AD with rand constants debug: prepare AD with rand constant contexts Nov 4, 2025
@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.50%. Comparing base (749fbcf) to head (b324d07).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #278   +/-   ##
=======================================
  Coverage   98.50%   98.50%           
=======================================
  Files          28       28           
  Lines        4828     4828           
=======================================
  Hits         4756     4756           
  Misses         72       72           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@franckgaga franckgaga merged commit 01bf244 into main Nov 4, 2025
5 checks passed
@franckgaga franckgaga deleted the debug_constant_DI branch November 4, 2025 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants